
package com.feib.soeasy.dao;

import com.feib.soeasy.model.FormatDefinition;
import com.feib.soeasy.model.Group;
import com.feib.soeasy.pagination.PaginatedList;


/**
 * @title (#)FormatDefinitionDao.java<br>
 * @description 帳單匯入格式(收款類別)Dao<br>
 * @author Jimmy Liu<br>
 * @version 1.0.0 2010/11/25
 * @copyright Far Eastern International Bank Copyright (c) 2010<br>
 * @2010/11/20 create by Jimmy Liu<br>
 */
public interface FormatDefinitionDao extends HibernateDao<FormatDefinition, Long> {
    
    public PaginatedList<FormatDefinition> queryPaginationByFormatDefinition(FormatDefinition formatDefinition, PaginatedList<FormatDefinition> paginationConfig);

    /**
     * @param group
     * @return
     */
    public int countFormatDefinitionByGroup(Group group);

    /**
     * @param group
     */
    public void deleteByGroup(Group group);
}
